package com.tianqu.tms.core.base;



/**
 * tms controller
 * @author liugang
 *
 */
public abstract class TmsController
{

	/**
	 * 
	 */
	public TmsController() {

	}

	/**
	* @return TxController
	*/
	public TxController getTxController() {
		return TxController.getTxController();
	}

	/**
	* @param uc
	* @throws Exception
	*/
	public abstract void execute(UserContext uc) throws Exception;

	/**
	* @return false
	* @param uc
	* @throws Exception
	**/
	public boolean testPrecondition(UserContext uc) throws Exception {
		return false;
	}
}
